import 'package:freezed_annotation/freezed_annotation.dart';
import 'dart:convert';

part 'expose_type_response.freezed.dart';
part 'expose_type_response.g.dart';

@freezed
class ExposeTypeResponse with _$ExposeTypeResponse {
  const factory ExposeTypeResponse({
    @JsonKey(name: "c") required int c,
    @JsonKey(name: "m") required String m,
    @JsonKey(name: "d") required Map<String, String> d,
  }) = _ExposeTypeResponse;

  factory ExposeTypeResponse.fromJson(Map<String, dynamic> json) =>
      _$ExposeTypeResponseFromJson(json);
}
